﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SAI
{
    class Graph
    {
        private List<Node> _nodes;
        private List<Edge> _edges;

        public List<Node> Nodes { get { return _nodes; } }
        public List<Edge> Edges { get { return _edges; } }

        public Graph()
        {
            _nodes = new List<Node>();
            _edges = new List<Edge>();
        }

        public void addNode(Node n)
        {
            _nodes.Add(n);
        }

        public void addEdge(Edge e)
        {
            _edges.Add(e);
        }
    }
}
